package com.flyou.ccnucenter.domain;

import java.util.List;

/**
 * ============================================================
 * 项目名称：HenuCenterPro
 * 包名称：com.flyou.henucenter.domain
 * 文件名：GetMapList
 * 类描述：
 * 创建人：flyou
 * 邮箱：fangjaylong@gmail.com
 * 创建时间：2015/12/29 20:51
 * 修改备注：
 * 版本：@version  V1.0
 * ============================================================
 **/
public class GetMapList {

    @Override
    public String toString() {
        return "GetMapList{" +
                "count=" + count +
                ", status='" + status + '\'' +
                ", total=" + total +
                ", pointList=" + pointList +
                '}';
    }

    /**
     * count : 10
     * pointList : [{"additionalInformation":{"address":"河大北门学生公寓东门小吃一条街东段路南","name":"静默主题餐厅","price":"","tag":"餐馆","telephone":"13419784539"},"address":"河大北门学生公寓东门小吃一条街东段路南","cityName":"开封市","distance":511,"district":"市辖区","location":{"lat":34.825451916655,"lng":114.30991906105},"name":"静默主题餐厅","type":"餐饮"},{"additionalInformation":{"address":"金明区新河大北门北苑宿舍小吃一条街(新河大)","name":"第1佳大鸡排","price":"","tag":"餐馆","telephone":"18337876613"},"address":"金明区新河大北门北苑宿舍小吃一条街(新河大)","cityName":"开封市","distance":517,"district":"市辖区","location":{"lat":34.825371469687,"lng":114.30980378513},"name":"第1佳大鸡排","type":""},{"additionalInformation":{"address":"金明区河大北苑超凡时尚酒店后50米路西","name":"速味居黄焖鸡米饭(新河大北门店)","price":"","tag":"快餐","telephone":"13938630533"},"address":"金明区河大北苑超凡时尚酒店后50米路西","cityName":"开封市","distance":560,"district":"市辖区","location":{"lat":34.824253472741,"lng":114.30888041182},"name":"速味居黄焖鸡米饭(新河大北门店)","type":"餐饮"},{"additionalInformation":{"address":"金明区大学校区北门北行100米路西","link":[{"name":"订餐小秘书","url":"http://map.baidu.com/detail?qt=ur&url=http%3A//kaifeng.xiaomishu.com/shop/F19H05V39937/"}],"name":"超凡私房菜馆","price":"6.0","tag":"豫菜","telephone":"13803781827"},"address":"金明区大学校区北门北行100米路西","cityName":"开封市","distance":569,"district":"市辖区","location":{"lat":34.824224652823,"lng":114.30878046311},"name":"超凡私房菜馆","type":"餐饮中餐馆"},{"additionalInformation":{"address":"金明区新河大创业中心北侧宜家美食广场内","name":"劝君上当","price":"","tag":"快餐","telephone":"18003833553"},"address":"金明区新河大创业中心北侧宜家美食广场内","cityName":"开封市","distance":650,"district":"市辖区","location":{"lat":34.817746864035,"lng":114.31302104614},"name":"劝君上当","type":"餐饮"},{"additionalInformation":{"address":"金明区新河大创业中心笑笑美食广场正对门","name":"香皖功夫煲仔饭","price":"","tag":"小吃","telephone":"18739965506"},"address":"金明区新河大创业中心笑笑美食广场正对门","cityName":"开封市","distance":707,"district":"市辖区","location":{"lat":34.817353045317,"lng":114.31246947859},"name":"香皖功夫煲仔饭","type":"餐饮"},{"additionalInformation":{"address":"金明区河南大学金明校区创业中心南门处(阿里茄子面)","name":"麦加美汉堡店","price":"","tag":"汉堡","telephone":"15890306032"},"address":"金明区河南大学金明校区创业中心南门处(阿里茄子面)","cityName":"开封市","distance":708,"district":"市辖区","location":{"lat":34.81735320993,"lng":114.31245442674},"name":"麦加美汉堡店","type":"餐饮"},{"additionalInformation":{"address":"金明区新河大创业中心一楼舞台一侧(靠近嘟嘟泡芙)","name":"自由自在进口食品店","price":"","tag":"快餐","telephone":"18738997927"},"address":"金明区新河大创业中心一楼舞台一侧(靠近嘟嘟泡芙)","cityName":"开封市","distance":710,"district":"市辖区","location":{"lat":34.817346350944,"lng":114.31240422889},"name":"自由自在进口食品店","type":"餐饮"},{"additionalInformation":{"address":"金明区创业中心幸福美食广场正对面靠左","name":"杜式酸辣粉（新河大店）","price":"","tag":"快餐","telephone":"13837868899"},"address":"金明区创业中心幸福美食广场正对面靠左","cityName":"开封市","distance":714,"district":"市辖区","location":{"lat":34.817247551086,"lng":114.3126330447},"name":"杜式酸辣粉（新河大店）","type":"餐饮"}]
     * status : Success
     * total : 2660
     */

    private int count;
    private String status;
    private int total;
    /**
     * additionalInformation : {"address":"河大北门学生公寓东门小吃一条街东段路南","name":"静默主题餐厅","price":"","tag":"餐馆","telephone":"13419784539"}
     * address : 河大北门学生公寓东门小吃一条街东段路南
     * cityName : 开封市
     * distance : 511
     * district : 市辖区
     * location : {"lat":34.825451916655,"lng":114.30991906105}
     * name : 静默主题餐厅
     * type : 餐饮
     */

    private List<PointListEntity> pointList;

    public void setCount(int count) {
        this.count = count;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public void setPointList(List<PointListEntity> pointList) {
        this.pointList = pointList;
    }

    public int getCount() {
        return count;
    }

    public String getStatus() {
        return status;
    }

    public int getTotal() {
        return total;
    }

    public List<PointListEntity> getPointList() {
        return pointList;
    }

    public static class PointListEntity {

        @Override
        public String toString() {
            return "PointListEntity{" +
                    "additionalInformation=" + additionalInformation +
                    ", address='" + address + '\'' +
                    ", cityName='" + cityName + '\'' +
                    ", distance=" + distance +
                    ", district='" + district + '\'' +
                    ", location=" + location +
                    ", name='" + name + '\'' +
                    ", type='" + type + '\'' +
                    '}';
        }

        /**
         * address : 河大北门学生公寓东门小吃一条街东段路南
         * name : 静默主题餐厅
         * price :
         * tag : 餐馆
         * telephone : 13419784539
         */

        private AdditionalInformationEntity additionalInformation;
        private String address;
        private String cityName;
        private int distance;
        private String district;
        /**
         * lat : 34.825451916655
         * lng : 114.30991906105
         */

        private LocationEntity location;
        private String name;
        private String type;

        public void setAdditionalInformation(AdditionalInformationEntity additionalInformation) {
            this.additionalInformation = additionalInformation;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public void setCityName(String cityName) {
            this.cityName = cityName;
        }

        public void setDistance(int distance) {
            this.distance = distance;
        }

        public void setDistrict(String district) {
            this.district = district;
        }

        public void setLocation(LocationEntity location) {
            this.location = location;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setType(String type) {
            this.type = type;
        }

        public AdditionalInformationEntity getAdditionalInformation() {
            return additionalInformation;
        }

        public String getAddress() {
            return address;
        }

        public String getCityName() {
            return cityName;
        }

        public int getDistance() {
            return distance;
        }

        public String getDistrict() {
            return district;
        }

        public LocationEntity getLocation() {
            return location;
        }

        public String getName() {
            return name;
        }

        public String getType() {
            return type;
        }

        public static class AdditionalInformationEntity {
            @Override
            public String toString() {
                return "AdditionalInformationEntity{" +
                        "address='" + address + '\'' +
                        ", name='" + name + '\'' +
                        ", price='" + price + '\'' +
                        ", tag='" + tag + '\'' +
                        ", telephone='" + telephone + '\'' +
                        '}';
            }

            private String address;
            private String name;
            private String price;
            private String tag;
            private String telephone;

            public void setAddress(String address) {
                this.address = address;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public void setTag(String tag) {
                this.tag = tag;
            }

            public void setTelephone(String telephone) {
                this.telephone = telephone;
            }

            public String getAddress() {
                return address;
            }

            public String getName() {
                return name;
            }

            public String getPrice() {
                return price;
            }

            public String getTag() {
                return tag;
            }

            public String getTelephone() {
                return telephone;
            }
        }

        public static class LocationEntity {
            private double lat;
            private double lng;

            public void setLat(double lat) {
                this.lat = lat;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }

            public double getLat() {
                return lat;
            }

            public double getLng() {
                return lng;
            }
        }
    }
}
